from school.models import Banji,Student,Teacher


print(Banji.objects.get(cid=3).student_set.all())
print('del banj 3')
b3=Banji.objects.get(cid=3)
print(b3.delete())
print(Banji.objects.get(cid=3).student_set.all())